@import './report-share.scss';

.page-wrapper {
  position: relative;
  background-color: #cc4744;
  height: 100vh;
  background-image: url('/ilink-app-h5-zd/static/img/ilink_1578621454168.png');
  background-repeat: no-repeat;
  background-size: 100% 100%;
  overflow: hidden;

  &.in-frame {
    height: calc(100vh - 43px);

    .yearReport .page-content,
    .slide-page,
    .section,
    .section-share .section-inner,
    .img-share {
      height: calc(100vh - 43px);
    }
  }

  .yearReportTitle {
    flex: 1;
  }

  .font30 {
    font-size: 30px;
    font-weight: bold;
  }

  .font16 {
    font-size: 16px;

    line-height: 32px;
  }

  .font12 {
    font-size: 12px;
  }

  .font14 {
    font-size: 14px;

  }

  .font18 {
    font-size: 18px;
  }

  .font20 {
    font-size: 20px;
  }

  .font50 {
    font-size: 50px;
  }

  .font40 {
    font-size: 40px;
    font-weight: bold;
  }

  .font24 {
    font-size: 24px;

  }

  .opacityColor {
    opacity: .6;
  }

  .text-c {
    text-align: center;
  }

  .text-l {
    text-align: left;
  }

  .text-r {
    text-align: right;
  }

  .colorYellow {
    color: #FFEAAE;
    line-height: 28px;
  }

  .yearReport .link-page-nav {
    background-color: #B14A48;
    display: flex;
    align-items: center;
    height: 38px;
  }

  .yearReport .link-page-nav span {
    text-align: center;
    color: #ffffff;
    font-size: 20px;
    text-indent: -45px;
  }

  .yearReport .page-inner {
    transition: transform 0.5s;
  }

  .yearReport .page-content {
    background-color: #CC4744;
    height: 100vh;
    background-image: url('/ilink-app-h5-zd/static/img/ilink_1578621454168.png');
    background-repeat: no-repeat;
    background-size: 100% 100%;
    overflow: hidden;
  }

  .slide-page {
    position: relative;
    min-height: 500px;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    height: 100vh;
    /* border: 1px solid blue; */
  }

  .page_1 {
    text-align: center;
  }

  .page_btn {

    color: #FFEAAE;
    font-size: 16px;
    animation-fill-mode: forwards;
    text-align: right;
  }

  .twinkle {
    animation: fadeInLeft 1s infinite ease-in-out;
  }

  .page_1_2 {
    width: 83%;
  }

  .page_btn_box {
    position: absolute;
    right: 28px;
    bottom: 60px;

  }

  /*从左到右进入*/
  @keyframes fadeInLeft {
    from {
      opacity: 0;
    }

    to {
      opacity: 1;
    }
  }

  .page_1 .startContentBg,
  .page_share .startContentBg {
    width: 55.5%;
    height: 15.6%;
    margin: 14.8% auto 0;
  }

  .page_1_contentBg {
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
  }

  .page_2 .startContentBg {
    margin-left: 10%;
    margin-top: 0px;
  }

  @keyframes jiggle {

    48%,
    62% {
      transform: scale(1.0, 1.0)
    }

    50% {
      transform: scale(1.1, 0.9)
    }

    56% {
      transform: scale(0.9, 1.1) translate(0, -5px)
    }

    59% {
      transform: scale(1.0, 1.0) translate(0, -3px)
    }
  }

  .page_2_content {
    padding: 15px 0;
    color: #ffffff;
  }

  .page_2_content .page_2_flex {
    margin-top: 20px;
    display: flex;
    align-items: baseline;
    justify-content: flex-start;
    font-size: 30px;
    color: #ffffff;
    font-weight: bold;
  }

  .page_2_content p:nth-child(4) {
    text-align: left;
    margin-top: 20px;
    ;
  }

  .to__led-number {
    display: inline-block;
  }

  .slideIcon {
    animation: slide 1s infinite;
    width: 28px;
    position: absolute;
    left: 50%;
    margin-left: -14px;
    bottom: 70px;
    z-index: 9;
  }

  @keyframes slide {
    0% {
      transform: translate(0px, 0px);
    }

    50% {
      transform: translate(0px, -10px);
    }

    100% {
      transform: translate(0px, 0px);
    }
  }

  /* page3 */
  .page_2,
  .page_3,
  .page_4,
  .page_6,
  .page_5,
  .page_7,
  .page_8,
  .page_9,
  .page_10,
  .page_11,
  .page_12 {
    color: #ffffff;
    padding: 0 10%;
    padding-top: 40px;
    overflow: hidden;
  }

  .page_2_contentBg {
    width: 65%;
    position: absolute;
    bottom: 15px;
    right: 10%;

  }

  .page_3_ContentBg {
    width: 65%;
    position: absolute;
    bottom: 66px;
    right: 10%;

  }

  .flex-start {
    display: flex;
    align-items: center;
    justify-content: flex-start;
  }

  /* 柱状图动画 */



  .page_6_img_1 {
    width: 120px;
    margin-top: 60px;
    margin-left: 60px;
    position: absolute;
    z-index: 2;


  }

  .page_6_img_2 {
    width: 240px;
    position: absolute;
    top: 0;
    right: 0;
    animation: turn 4s linear infinite;

  }

  @media screen and (width: 320px) {
    .page_6_img {
      width: 195px;
      height: 195px;
    }

    .page_6_img_1 {
      width: 98px;
      margin-top: 60px;
      margin-left: 60px;
    }

    .page_6_img_2 {
      width: 195px;
      position: absolute;
      top: 0;
      right: 0;
    }

    .font30 {
      font-size: 28px;
      font-weight: bold;
    }

    .font16 {
      font-size: 14px;
      line-height: 32px;
    }

    .font14 {
      font-size: 12px;
    }

    .font18 {
      font-size: 16px;
    }

    .font24 {
      font-size: 22px;
    }
  }

  @keyframes turn {
    0% {
      -webkit-transform: rotate(0deg);
    }

    25% {
      -webkit-transform: rotate(90deg);
    }

    50% {
      -webkit-transform: rotate(180deg);
    }

    75% {
      -webkit-transform: rotate(270deg);
    }

    100% {
      -webkit-transform: rotate(360deg);
    }
  }

  .page_7_head {
    position: relative;
    width: 119px;
    margin: 40px auto 10px auto;
  }

  .page_7_head .icon-logo {
    position: absolute;
    top: -35px;
    right: 0;
    width: 55px;
    height: 55px;
  }

  .page_7_head .icon-head {
    width: 119px;
    height: 119px;
    border-radius: 50%;
    border: 1px solid #f34c49;
  }

  .page_8_icon {
    margin-top: 30px;
    display: flex;
    justify-content: space-between;
  }

  .page_8_icon div:nth-child(1) {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: #93CF70;
    line-height: 64px;
    animation: textOpacity 5s infinite alternate;
    font-size: 24px;
    margin-top: 40px;
  }

  .page_8_maintenance_img {
    width: 120px;
    position: absolute;
    top: 40px;
    right: 10%;
  }

  .page_8_icon div:nth-child(2) {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: #F6AF13;
    line-height: 44px;
    animation: textOpacity 5s 1s infinite alternate;
    font-size: 16px;
  }

  .page_8_icon div:nth-child(3) {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #F06F6F;
    line-height: 50px;
    animation: textOpacity 5s 2s infinite alternate;
    font-size: 18px;
    margin-top: 30px;
  }

  .page_8_icon div:nth-child(4) {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background-color: #619EFF;
    line-height: 34px;
    animation: textOpacity 5s 1s infinite alternate;
    font-size: 12px;
    margin-top: 20px;
  }

  @keyframes textOpacity {
    0% {
      opacity: 0;
    }

    25% {
      opacity: 0.3;
    }

    50% {
      opacity: 0.5;
    }

    75% {
      opacity: 0.8;
    }

    100% {
      opacity: 1;
    }
  }

  .page_9_words {
    position: relative;
    background: #F06665;
    border: 1px solid #FCCD62;
    /* padding-top: 76%; */
    margin-bottom: 25px;
  }

  .page_9_words img {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
  }

  .page_9_top {
    position: relative;
    padding-top: 20px;
    width: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
  }

  .page_9_rankingImg {
    width: 100%;
  }

  .page_9_ranking_1,
  .page_9_ranking_2,
  .page_9_ranking_3 {
    width: 30%;
    text-align: center;
  }

  .page_9_ranking_2,
  .page_9_ranking_3 {
    bottom: 100px;
  }

  .page_9_ranking_1 {
    bottom: 120px;
    left: 33.3%;
  }

  .page_9_ranking_3 {
    bottom: 80px;
    left: 66.6%;
  }

  .page_9_ranking_1 .rankingBg,
  .page_9_ranking_2 .rankingBg,
  .page_9_ranking_3 .rankingBg {
    width: 100%;

  }

  .page_9_top .company_logo {
    width: 44px;
    height: 44px;
    border-radius: 50%;
  }

  .page_9_words img:nth-child(1) {
    animation: textOpacity 2s infinite alternate;
  }

  .page_9_words img:nth-child(2) {
    animation: textOpacity 2s 2s infinite alternate;
  }

  .page_9_words img:nth-child(3) {
    animation: textOpacity 2s 3s infinite alternate;
  }

  .page_9_words_title {
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    padding: 40px 0 10px 0;
  }

  .sharePageBtn {
    width: 160px;
    margin-top: 50px;
    animation: jiggle 2s ease-in infinite;
  }

  .page_12_content {
    position: relative;
  }

  .page_12_title {

    text-align: center;
  }

  .rankingList li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 15px 0;
  }

  .rankingList li img {
    width: 34px;
    height: 34px;
    border-radius: 50%;
  }

  .rankingListImgBox {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    margin: 0 10px;
    background-color: #FFEAAE;
    text-align: center;
    line-height: 34px;
  }

  .animationFireworks1 {
    animation: fireworks 2s 1s infinite;
  }

  .animationFireworks2 {
    animation: fireworks 3s 2s infinite;
  }

  .animationFireworks3 {
    animation: fireworks 4s 3s infinite;
  }

  #animationFireworks1 {
    position: absolute;
    left: 0;
    top: 10px;
    width: 300px;
    transform: scale(0);
    z-index: 5;
    pointer-events: none;
  }

  #animationFireworks2 {
    position: absolute;
    left: 40px;
    top: 0;
    width: 300px;
    transform: scale(0);
    z-index: 5;
    pointer-events: none;
  }

  #animationFireworks3 {
    position: absolute;
    right: 100px;
    top: -30px;
    width: 100%;
    transform: scale(0);
    z-index: 5;
    pointer-events: none;
  }

  @keyframes fireworks {
    0% {
      transform: scale(0);
    }

    80% {
      transform: scale(1.5);
    }

    100% {
      opacity: 0;
    }
  }

  .yearReportline {
    width: 50px;
    border-bottom: 1px solid rgba(235, 195, 195, 0.6);
    position: absolute;
    margin-top: 80px;
    margin-left: calc(40% + 5px);
    z-index: 1;
  }

  .yearReportText {
    z-index: 1;
    position: absolute;
    left: 50%;
    top: calc(50% - 10px);
    text-indent: 10px;
    color: rgba(235, 195, 195, 0.6);
    font-size: 12px;
  }

  .hideimg {
    display: none;
  }

  .textFadeIn {
    opacity: 0;
    /*实先规定文字的状态是不显示的*/
    animation: fade-in 1s linear;
    animation-fill-mode: forwards;
  }

  @keyframes fade-in {
    from {
      opacity: 0;
    }

    to {
      opacity: 1;
    }
  }

  .absoluteText {
    color: rgba(138, 18, 16, .5);
    position: absolute;
    width: 100%;
    left: 0;
    bottom: 0;
    bottom: env(safe-area-inset-bottom);
    bottom: constant(safe-area-inset-bottom);
    z-index: 8;
    background: rgba(0, 0, 0, .5);
    background: rgba(204, 71, 68, .7);
    height: 40px;
    line-height: 40px;
  }

  .pieDescript {
    margin-left: 8px;
    margin-top: 0px;
  }

  .pieTitle {
    margin-left: 10px;
    float: left;
    width: 12px;
    height: 12px;
    margin-top: 3px;
  }

  .playAudio {
    position: fixed;
    right: 5%;
    top: 40px;
    width: 34px;
    height: 34px;
    z-index: 9;
  }

  .audioPlayStatus {
    animation: animationRotate 6s 1s linear infinite;
  }

  @keyframes animationRotate {
    0% {
      transform: rotate(0deg);
    }

    100% {
      transform: rotate(360deg);
    }
  }

  .section {
    position: relative;
    height: 100vh;
    box-sizing: border-box;
    color: #fff;
  }

  .page-inner {
    transition: transform 0.5s;
    -webkit-transition: transform 0.5s;
  }

  .slide-icon {
    animation: slide 1s infinite;
    width: 28px;
    position: absolute;
    left: 50%;
    margin-left: -14px;
    bottom: 50px;
    z-index: 9;
  }

  @keyframes slide {
    0% {
      transform: translate(0px, 0px);
    }

    50% {
      transform: translate(0px, -10px);
    }

    100% {
      transform: translate(0px, 0px);
    }
  }

  .btn-audio {
    position: fixed;
    right: 5%;
    top: 30px;
    width: 34px;
    height: 34px;
    z-index: 9;
  }

  .audio-playing {
    animation: animationRotate 6s 1s linear infinite;
  }

  @keyframes animationRotate {
    0% {
      transform: rotate(0deg);
    }

    100% {
      transform: rotate(360deg);
    }
  }

  .press-text {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: #ffeaae;
    font-size: 14px;
    z-index: 9;
  }

  .section-base {
    color: #ffffff;
    padding: 0 10%;
    padding-top: 30px;
    overflow: hidden;
  }

  #page_4,
  #page_5,
  #page_6,
  #page_8 {
    height: 57%;
  }

  .padtop-25p {
    padding-top: 25%;
  }

  .section-end {
    .content {
      padding-top: 50px;
    }
  }

}

@media screen and (max-height: 603px) {
  .page-wrapper {
    .section {
      &.section-base {
        padding-top: 15px;
      }

      .img-year {
        margin-top: 10px;
      }

      .rankingList {
        margin-top: -30px;
      }
    }
  }
}
